<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  
  <title>Archives: 2018/5 | 程序小工  | Just do it!</title>
  <meta name="description" content="遇见更好的自己~" />
  <meta name="keywords" content="" />
  <meta name="HandheldFriendly" content="True" />
  <meta name="apple-mobile-web-app-capable" content="yes">
  <link rel="shortcut icon" href="/">
  <link rel="alternate" href="/atom.xml" title="程序小工  | Just do it!">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="遇见更好的自己~">
<meta property="og:type" content="website">
<meta property="og:title" content="程序小工  | Just do it!">
<meta property="og:url" content="http://blog.i2arch.tech/archives/2018/05/index.html">
<meta property="og:site_name" content="程序小工  | Just do it!">
<meta property="og:description" content="遇见更好的自己~">
<meta property="og:locale" content="zh-Hans">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="程序小工  | Just do it!">
<meta name="twitter:description" content="遇见更好的自己~">
    
  <link href="https://fonts.googleapis.com/css?family=Inconsolata|Titillium+Web" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css?family=Roboto+Mono" rel="stylesheet">
  <link href='//cdn.bootcss.com/node-waves/0.7.5/waves.min.css' rel='stylesheet'>
  <link rel="stylesheet" href="/style.css">
  <script>
    function setLoadingBarProgress(num) {
      document.getElementById('loading-bar').style.width=num+"%";
    }
  </script>
</head>

<body>
  <div id="loading-bar-wrapper">
  <div id="loading-bar"></div>
</div>


  <script>setLoadingBarProgress(20)</script>
  <header class="l_header">
	<div class='wrapper'>
		<div class="nav-main container container--flex">
			<a class="logo flat-box" href='/' >
				程序小工  | Just do it!
			</a>
			<div class='menu'>
				<ul class='h-list'>
					
						<li>
							<a class='flat-box nav-home' href='/'>
								<i class='icon icon-list2'></i>
								首页
							</a>
						</li>
					
						<li>
							<a class='flat-box nav-archives' href='/archives'>
								<i class='icon icon-bookmark'></i>
								归档
							</a>
						</li>
					
						<li>
							<a class='flat-box nav-about' href='/about'>
								<i class='icon icon-user'></i>
								关于
							</a>
						</li>
					
				</ul>
				<div class='underline'></div>
			</div>
			
				<div class="m_search">
					<form name="searchform" class="form u-search-form">
						<input type="text" class="input u-search-input" placeholder="Search" />
						<span class="icon icon-search"></span>
					</form>
				</div>
			
			<ul class='switcher h-list'>
				
					<li class='s-search'><a href='javascript:void(0)'><span class="icon icon-search flat-box"></span></a></li>
				
				<li class='s-menu'><a href='javascript:void(0)'><span class="icon icon-menu flat-box"></span></a></li>
			</ul>
		</div>

		<div class='nav-sub container container--flex'>
			<a class="logo" class="flat-box" href='javascript:void(0)'>
				Word of Forks
			</a>

			<ul class='switcher h-list'>
				<li class='s-comment'><a href='javascript:void(0)'><span class="icon icon-chat_bubble_outline flat-box"></span></a></li>
				<li class='s-top'><a href='javascript:void(0)'><span class="icon icon-arrow_upward flat-box"></span></a></li>
				<li class='s-toc'><a href='javascript:void(0)'><span class="icon icon-format_list_numbered flat-box"></span></a></li>
			</ul>
		</div>
	</div>
</header>
<aside class="menu-phone">
	<nav>
		
			<a href="/" class="nav-home nav">
				首页
			</a>
		
			<a href="/archives" class="nav-archives nav">
				归档
			</a>
		
			<a href="/about" class="nav-about nav">
				关于
			</a>
		
	</nav>
</aside>

    <script>setLoadingBarProgress(40);</script>
  <div class="l_body">
    <div class='container clearfix'>
      <!-- 左侧内容 -->
      <div class='l_main'>
        
	
  <script>
    window.subData= { title:'Year : 2018+  5'}
  </script>


  <section class="post-list">
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/05/16/php-无限级分类/">
          PHP实现无限级分类 -- path标识
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/PHP/">PHP</a>
    </div>

          <time class="time">
            5月<br>
              16
              <!-- May 16, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    <p>在实际项目中经常要用到无限级分类，如多级分类、导航表等。PHP 实现无限级分类通常有两种实现方式，一种是利用<code>path</code>字段（pid+id）标识当前层级；另一种是利用递归循环<code>pid</code>的方式。此处介绍前种方式。</p>

      
        <div class="readmore">
          <a href="/2018/05/16/php-无限级分类/">阅读全文 <i class="icon icon-next"></i></a>
        </div>
        
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/无限级分类/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                无限级分类
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/05/15/movie-wxsnr/">
          电影《闻香识女人》
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/Movie/">Movie</a>
    </div>

          <time class="time">
            5月<br>
              15
              <!-- May 15, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    <p>揭发同学求自保，还是坚持原则被处罚？前两个小时平淡无奇的叙述，后 30 分钟将所有的事情衔接起来，开始转变。生活需要勇气，需要坚持原则。没有什么比精神残废更可怕，灵魂不可能有义肢。</p>
<p>Simple, so harming.</p>

      
        <div class="readmore">
          <a href="/2018/05/15/movie-wxsnr/">阅读全文 <i class="icon icon-next"></i></a>
        </div>
        
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/movie/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                movie
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/05/14/sphinx-php-windows/">
          windows7使用Sphinx+PHP+MySQL详细介绍
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/PHP/">PHP</a>
    </div>

          <time class="time">
            5月<br>
              14
              <!-- May 14, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    <p>由于业务需要，需要做类似淘宝商城商品检索的功能，对于数据量很大的情况，MySQL 查询的效率损耗很大，需要使用专门的索引引擎进行搜索查询，实现功能，对于和 PHP 和 Mysql 的结合的索引引擎中， xunsearch 和 sphinx 是较为著名的，但由于 xunsearch 服务器端不支持 windows，所以暂且先考虑 sphinx 的使用。sphinx 目前已支持简体中文、繁体中文和英文的检索，不需要额外安装插件支持。</p>

      
        <div class="readmore">
          <a href="/2018/05/14/sphinx-php-windows/">阅读全文 <i class="icon icon-next"></i></a>
        </div>
        
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/thinkphp5/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                thinkphp5
              </a>
              
              <a href="/tags/sphinx/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                sphinx
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/05/09/vscode-xdebug/">
          【VSCode插件】xdebug开发调试PHP
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/VSCode/">VSCode</a>
    </div>

          <time class="time">
            5月<br>
              09
              <!-- May 9, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    <p>Xdebug 在开发过程中可以帮我们查看具体的运行和步骤，以及每行代码执行的结果，在学习和解决代码问题的时候可以提供非常大的便利。PHPStorm 也可以进行 Xdebug 调试，VScode 也可以进行配置调试，且比 PHPStorm 的配置简单很多，不用每次去创建一个 Server，再创建一个 web page 服务。相比之下，VSCode 的界面好看，且简单方便，值得学习一下。</p>
<p>使用了一段时间，但是偶尔还是会出现一些问题，故而进行了整理总结。</p>

      
        <div class="readmore">
          <a href="/2018/05/09/vscode-xdebug/">阅读全文 <i class="icon icon-next"></i></a>
        </div>
        
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/xdebug/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                xdebug
              </a>
              
              <a href="/tags/vscoode/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                vscoode
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/05/08/php-booklist/">
          PHP书单
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/BookShelf/">BookShelf</a>
    </div>

          <time class="time">
            5月<br>
              08
              <!-- May 8, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    <p>PHP 学习有一段时间了，看过一些书，也还有一些有待阅读的书，希望今后能在工作中不断积累理论和实践知识，并建立起自己的知识体系。</p>

      
        <div class="readmore">
          <a href="/2018/05/08/php-booklist/">阅读全文 <i class="icon icon-next"></i></a>
        </div>
        
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/book/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                book
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/05/08/movie-llqj/">
          电影《绿里奇迹》
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/movie/">movie</a>
    </div>

          <time class="time">
            5月<br>
              08
              <!-- May 8, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    

      
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/movie/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                movie
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/05/07/php-route/">
          【转】PHP发展路径
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/PHP/">PHP</a>
    </div>

          <time class="time">
            5月<br>
              07
              <!-- May 7, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    <p>按照了解的很多 PHP/LNMP 程序员的发展轨迹，结合个人经验体会，抽象出很多程序员对未来的迷漫，特别对技术学习的盲目和慌乱，简单梳理了这个每个阶段 PHP 程序员的技术要求，来帮助很多 PHP 程序做对照设定学习成长目标。</p>

      
        <div class="readmore">
          <a href="/2018/05/07/php-route/">阅读全文 <i class="icon icon-next"></i></a>
        </div>
        
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/路径/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                路径
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/05/05/phpstorm-xdebug/">
          PHPStorm 配置 xdebug(phpStudy/wamp)
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/PHPStrom/">PHPStrom</a>
    </div>

          <time class="time">
            5月<br>
              05
              <!-- May 5, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    <p>PHPStorm 是一款功能强大的 PHP 开发工具，自动补全、格式化样式等，以及最主要的 XDebug 功能，是开发中非常有用的功能，能有效查看程序代码的问题所在，并了解程序的执行过程。</p>

      
        <div class="readmore">
          <a href="/2018/05/05/phpstorm-xdebug/">阅读全文 <i class="icon icon-next"></i></a>
        </div>
        
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/phpstrom/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                phpstrom
              </a>
              
              <a href="/tags/xdebug/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                xdebug
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/05/01/hello-world/">
          Hexo+Github搭建个人博客
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/Hexo/">Hexo</a>
    </div>

          <time class="time">
            5月<br>
              01
              <!-- May 1, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    <p>Welcome to <a href="https://hexo.io/" target="_blank" rel="noopener">Hexo</a>! This is your very first post. Check <a href="https://hexo.io/docs/" target="_blank" rel="noopener">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a href="https://hexo.io/docs/troubleshooting.html" target="_blank" rel="noopener">troubleshooting</a> or you can ask me on <a href="https://github.com/hexojs/hexo/issues" target="_blank" rel="noopener">GitHub</a>.</p>

      
        <div class="readmore">
          <a href="/2018/05/01/hello-world/">阅读全文 <i class="icon icon-next"></i></a>
        </div>
        
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/hexo/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                hexo
              </a>
              
              <a href="/tags/github/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                github
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/05/01/movie-tbszr/">
          电影《土拨鼠之日》
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/movie/">movie</a>
    </div>

          <time class="time">
            5月<br>
              01
              <!-- May 1, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    

      
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/movie/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                movie
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
  </section>




      </div>

      <!-- 右侧边栏组件 -->
      <aside class='l_side'>
        
      </aside>

      <div class="gotop">
          
    <a href='javascript:void(0)'>
        <i class="icon icon-arrow_upward flat-box">
        </i>
    </a>

      </div>
      <script>setLoadingBarProgress(60);</script>
    </div>
  </div>
  <footer id="footer" class="clearfix">

	<div class="social-wrapper">
  	
      
        <a href="https://github.com/zqunor" class="social github"
          target="_blank" rel="external">
          <span class="icon icon-github"></span>
        </a>
      
        <a href="https://www.cnblogs.com/zqunor" class="social zhihu"
          target="_blank" rel="external">
          <span class="icon icon-zhihu"></span>
        </a>
      
        <a href="/atom.xml" class="social rss"
          target="_blank" rel="external">
          <span class="icon icon-rss"></span>
        </a>
      
    
  </div>
  <div>Theme <a href='https://github.com/stkevintan/hexo-theme-material-flow' class="codename">MaterialFlow</a>  Powered by<a href="https://blog.i2arch.tech/" target="_blank">程序小工</a>.</div>

</footer>

  <script>setLoadingBarProgress(80);</script>
  

    <script src="//apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <script src='//cdn.bootcss.com/node-waves/0.7.5/waves.min.js'></script>
    <script src="//cdn.bootcss.com/scrollReveal.js/3.3.2/scrollreveal.min.js"></script>
    <script src="/js/jquery.fitvids.js"></script>
      <script>
        var GOOGLE_CUSTOM_SEARCH_API_KEY = "";
        var GOOGLE_CUSTOM_SEARCH_ENGINE_ID = "";
        var ALGOLIA_API_KEY = "";
        var ALGOLIA_APP_ID = "";
        var ALGOLIA_INDEX_NAME = "";
        var AZURE_SERVICE_NAME = "";
        var AZURE_INDEX_NAME = "";
        var AZURE_QUERY_KEY = "";
        var BAIDU_API_ID = "fca5b83cf69f752ddc96a61ef64a3659";
        var SEARCH_SERVICE = "hexo";
        var ROOT = "/" || "/";
        if (!ROOT.endsWith('/')) ROOT += '/';
      </script>
      <script src="/js/search.js"></script>
        <script src="/js/app.js"></script>
  <script>setLoadingBarProgress(100);</script>
</body>
</html>
